/**
 * Copyright (C) 2025 pony working team
 * SPDX-License-Identifier: MulanPSL-2.0
 */

/* define to prevent recursive inclusion -------------------------------------*/
#ifndef __A_IT_H__
#define __A_IT_H__

/* includes (standard library, system) ---------------------------------------*/
#include <stdbool.h>
/* includes (other library) --------------------------------------------------*/
/* includes (project) --------------------------------------------------------*/
#include <x_compiler.h>
/* includes (local) ----------------------------------------------------------*/

#ifdef __cplusplus
extern "C" {
#endif /* __cplusplus */

/* defines -------------------------------------------------------------------*/
/* typedefs ------------------------------------------------------------------*/
/* macro ---------------------------------------------------------------------*/
/* inlines -------------------------------------------------------------------*/

static __always_inline unsigned long it_lock(void)
{
    return 0;
}
static __always_inline void it_restore(unsigned long flags)
{
}

static __always_inline bool it_locked(void)
{
    return false;
}

static __always_inline bool it_context_arch(void)
{
    return false;
}

/* externs -------------------------------------------------------------------*/

#ifdef __cplusplus
}
#endif /* __cplusplus */

#endif /* __A_IT_H__ */
